<nz-card nzBordered="false" *ngIf="showSearch && !_config.hideSearch">
  <sf #sf [schema]="searchSchema" [formData]="formData" mode="search" width="200"  (formSubmit)="searchData($event)" (formReset)="searchData(null)" [button]="flag">
    <ng-template [ngTemplateOutlet]="btnTmp"></ng-template>
  </sf>
</nz-card>
<section class="mb-md d-flex">
  <div class="mr-md" *ngIf="_config.exportFile">
    <button nz-button nzType="primary" (click)="exportFile()">导出数据</button>
  </div>
  <div class="flex-1">
    <ng-template [ngTemplateOutlet]="tmp"></ng-template>
  </div>
</section>
<nz-card>
  <st #st  [data]="_config.reqUrl||_config.data" [body]="bodyTpl" [page]="pageConfig"  [ps]="_config.ps || 10" [columns]="stConfig" [widthMode]="{type: 'strict'}"  [res]="{process: process, reName: {total: 'data.total', list: 'data.list'}}" [req]="{params: _config?.defaultParam, reName: {pi: 'pageNum', ps: 'pageSize'}, method: 'POST', allInBody: true}" (change)="selectChange($event)">
  </st>
</nz-card>
